<template>
  <div id="view-content-page">
    <el-tabs tab-position="right" v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="我的信息" name="info" class="pane">
        <userInfoTable-page />
      </el-tab-pane>
      <el-tab-pane label="我的信息2" name="info2">啥也没有( ´▽｀)
      </el-tab-pane>
    </el-tabs>

  </div>
</template>

<script>
import { mapState, mapMutations, mapActions } from 'vuex'
import userInfoTable from './contentPages/userInfoTable.vue'
export default {
  name: 'content-page',
  components: {
    [userInfoTable.name]: userInfoTable
  },
  data() {
    return {
      activeName: 'info'
    }
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event)
    }
  }
}
</script>

<style lang="scss">
#view-content-page {
  padding: 20px;
  background-color: $themeColor4;

  .pane {

  }
}
</style>